createTransition

Creates a new transition, fails if type is unknown.

The created block is standalone until assigned to a clip with setTransition. Once assigned, it is owned by that clip: it is destroyed together with the clip, and the engine also destroys it automatically when the two clips stop being timeline-adjacent on the track (e.g. after a manual gap is introduced).

Return

the created transition's handle.

Parameters

type

the type of transition to create.